<?php /* Smarty version Smarty-3.1.6, created on 2017-05-16 16:17:28
         compiled from "Upload\answer\20170516\gx18aro0f.html" */ ?>
<?php /*%%SmartyHeaderCode:21597591ab5988f5aa2-45190445%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '74f7a0fa7736fe379f2bedc98e5739f6f047e62d' => 
    array (
      0 => 'Upload\\answer\\20170516\\gx18aro0f.html',
      1 => 1494922643,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21597591ab5988f5aa2-45190445',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_591ab59890055',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_591ab59890055')) {function content_591ab59890055($_smarty_tpl) {?>#include<stdio.h>
void main()
{ 
	int b(int x[],int n);
	int sum=0;
	int a[5]={1,2,3,4,5};
	sum=b(a,5);
    printf("sum=%d\n",sum);
}
int b(int x[],int n)
{
	int i,sum=0;
	for(i=0;i<5;i++)
	sum=sum+x[i];
	return sum;
}<?php }} ?>